//
//  ColorConstant.h
//  KuTing
//
//  Created by 朱耀春 on 16/5/23.
//  Copyright © 2016年 朱耀春. All rights reserved.
//

#ifndef ColorConstant_h
#define ColorConstant_h





// RGB颜色转换（16进制->10进制）
#define kUIColorFromRGB(rgbValue)\
\
[UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \
blue:((float)(rgbValue & 0xFF))/255.0 \
alpha:1.0]

// 颜色(RGB)
#define RGBCOLOR(r, g, b)     [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:1]
#define RGBACOLOR(r, g, b, a) [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:(a)]

///表格分组间隔颜色
#define kColorOfGroup         kUIColorFromRGB(0xf5f5f5)
///常用颜色
#define kWhiteColor          [UIColor whiteColor]
#define kClearColor          [UIColor clearColor]
#define kBlackColor          [UIColor blackColor]
#define KTabBarTitleColor    RGBCOLOR(146, 8, 130)
//提示语
#define HUI_FONTCOLOR        RGBCOLOR(133, 133, 133)
#define BLACK_FONTCOLOR      RGBCOLOR(52, 52, 52)
//背景色
#define kVC_Background_GrayColor RGBCOLOR(245,245,245)

#define KClear_color   [UIColor clearColor]
//绿色
#define kgreen_color   RGBCOLOR(110, 186, 68 )
#define KBlue_color    RGBCOLOR(83, 154, 69 )
#define kY_color       RGBCOLOR(247, 157, 34 )
#define kB_color       RGBCOLOR(97, 97, 97 )



#endif /* ColorConstant_h */
